#ifndef    __BU_FLASH_H__
#define    __BU_FLASH_H__

#include "at32f403a_407.h"

enum{
	BYTE=0,
	HALF=1,
	WORD=2
};


typedef struct st_store{
	void (*read)(uint8_t w_type,uint32_t read_addr, void *p_buffer, uint16_t num_read);
	error_status (*write)(uint8_t w_type,uint32_t read_addr, void *p_buffer, uint16_t num_read);
}st_store,*pst_store;




extern pst_store pstore;
void store_business_init(void);



#endif


